package com.huaishushu;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@Slf4j
@SpringBootApplication
//开启监听器、过滤器、拦截器的缓存
@ServletComponentScan
//开启缓存
@EnableCaching
public class RuiJiWaiMaiApplication {

    public static void main(String[] args) {
        SpringApplication.run(RuiJiWaiMaiApplication.class, args);
        log.info("日志启动成.....");
    }

}



